package com.atguigu.springboot.entities;

import java.util.ArrayList;
import java.util.List;

public class AttractionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AttractionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAidIsNull() {
            addCriterion("aid is null");
            return (Criteria) this;
        }

        public Criteria andAidIsNotNull() {
            addCriterion("aid is not null");
            return (Criteria) this;
        }

        public Criteria andAidEqualTo(Integer value) {
            addCriterion("aid =", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotEqualTo(Integer value) {
            addCriterion("aid <>", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThan(Integer value) {
            addCriterion("aid >", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid >=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThan(Integer value) {
            addCriterion("aid <", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThanOrEqualTo(Integer value) {
            addCriterion("aid <=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidIn(List<Integer> values) {
            addCriterion("aid in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotIn(List<Integer> values) {
            addCriterion("aid not in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidBetween(Integer value1, Integer value2) {
            addCriterion("aid between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotBetween(Integer value1, Integer value2) {
            addCriterion("aid not between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andDescribe1IsNull() {
            addCriterion("describe1 is null");
            return (Criteria) this;
        }

        public Criteria andDescribe1IsNotNull() {
            addCriterion("describe1 is not null");
            return (Criteria) this;
        }

        public Criteria andDescribe1EqualTo(String value) {
            addCriterion("describe1 =", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1NotEqualTo(String value) {
            addCriterion("describe1 <>", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1GreaterThan(String value) {
            addCriterion("describe1 >", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1GreaterThanOrEqualTo(String value) {
            addCriterion("describe1 >=", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1LessThan(String value) {
            addCriterion("describe1 <", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1LessThanOrEqualTo(String value) {
            addCriterion("describe1 <=", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1Like(String value) {
            addCriterion("describe1 like", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1NotLike(String value) {
            addCriterion("describe1 not like", value, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1In(List<String> values) {
            addCriterion("describe1 in", values, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1NotIn(List<String> values) {
            addCriterion("describe1 not in", values, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1Between(String value1, String value2) {
            addCriterion("describe1 between", value1, value2, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe1NotBetween(String value1, String value2) {
            addCriterion("describe1 not between", value1, value2, "describe1");
            return (Criteria) this;
        }

        public Criteria andDescribe2IsNull() {
            addCriterion("describe2 is null");
            return (Criteria) this;
        }

        public Criteria andDescribe2IsNotNull() {
            addCriterion("describe2 is not null");
            return (Criteria) this;
        }

        public Criteria andDescribe2EqualTo(String value) {
            addCriterion("describe2 =", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2NotEqualTo(String value) {
            addCriterion("describe2 <>", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2GreaterThan(String value) {
            addCriterion("describe2 >", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2GreaterThanOrEqualTo(String value) {
            addCriterion("describe2 >=", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2LessThan(String value) {
            addCriterion("describe2 <", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2LessThanOrEqualTo(String value) {
            addCriterion("describe2 <=", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2Like(String value) {
            addCriterion("describe2 like", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2NotLike(String value) {
            addCriterion("describe2 not like", value, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2In(List<String> values) {
            addCriterion("describe2 in", values, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2NotIn(List<String> values) {
            addCriterion("describe2 not in", values, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2Between(String value1, String value2) {
            addCriterion("describe2 between", value1, value2, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe2NotBetween(String value1, String value2) {
            addCriterion("describe2 not between", value1, value2, "describe2");
            return (Criteria) this;
        }

        public Criteria andDescribe3IsNull() {
            addCriterion("describe3 is null");
            return (Criteria) this;
        }

        public Criteria andDescribe3IsNotNull() {
            addCriterion("describe3 is not null");
            return (Criteria) this;
        }

        public Criteria andDescribe3EqualTo(String value) {
            addCriterion("describe3 =", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3NotEqualTo(String value) {
            addCriterion("describe3 <>", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3GreaterThan(String value) {
            addCriterion("describe3 >", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3GreaterThanOrEqualTo(String value) {
            addCriterion("describe3 >=", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3LessThan(String value) {
            addCriterion("describe3 <", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3LessThanOrEqualTo(String value) {
            addCriterion("describe3 <=", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3Like(String value) {
            addCriterion("describe3 like", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3NotLike(String value) {
            addCriterion("describe3 not like", value, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3In(List<String> values) {
            addCriterion("describe3 in", values, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3NotIn(List<String> values) {
            addCriterion("describe3 not in", values, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3Between(String value1, String value2) {
            addCriterion("describe3 between", value1, value2, "describe3");
            return (Criteria) this;
        }

        public Criteria andDescribe3NotBetween(String value1, String value2) {
            addCriterion("describe3 not between", value1, value2, "describe3");
            return (Criteria) this;
        }

        public Criteria andImageIsNull() {
            addCriterion("image is null");
            return (Criteria) this;
        }

        public Criteria andImageIsNotNull() {
            addCriterion("image is not null");
            return (Criteria) this;
        }

        public Criteria andImageEqualTo(String value) {
            addCriterion("image =", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotEqualTo(String value) {
            addCriterion("image <>", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThan(String value) {
            addCriterion("image >", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualTo(String value) {
            addCriterion("image >=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThan(String value) {
            addCriterion("image <", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualTo(String value) {
            addCriterion("image <=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLike(String value) {
            addCriterion("image like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotLike(String value) {
            addCriterion("image not like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageIn(List<String> values) {
            addCriterion("image in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotIn(List<String> values) {
            addCriterion("image not in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageBetween(String value1, String value2) {
            addCriterion("image between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotBetween(String value1, String value2) {
            addCriterion("image not between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andBf1IsNull() {
            addCriterion("bf1 is null");
            return (Criteria) this;
        }

        public Criteria andBf1IsNotNull() {
            addCriterion("bf1 is not null");
            return (Criteria) this;
        }

        public Criteria andBf1EqualTo(String value) {
            addCriterion("bf1 =", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1NotEqualTo(String value) {
            addCriterion("bf1 <>", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1GreaterThan(String value) {
            addCriterion("bf1 >", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1GreaterThanOrEqualTo(String value) {
            addCriterion("bf1 >=", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1LessThan(String value) {
            addCriterion("bf1 <", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1LessThanOrEqualTo(String value) {
            addCriterion("bf1 <=", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1Like(String value) {
            addCriterion("bf1 like", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1NotLike(String value) {
            addCriterion("bf1 not like", value, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1In(List<String> values) {
            addCriterion("bf1 in", values, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1NotIn(List<String> values) {
            addCriterion("bf1 not in", values, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1Between(String value1, String value2) {
            addCriterion("bf1 between", value1, value2, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf1NotBetween(String value1, String value2) {
            addCriterion("bf1 not between", value1, value2, "bf1");
            return (Criteria) this;
        }

        public Criteria andBf2IsNull() {
            addCriterion("bf2 is null");
            return (Criteria) this;
        }

        public Criteria andBf2IsNotNull() {
            addCriterion("bf2 is not null");
            return (Criteria) this;
        }

        public Criteria andBf2EqualTo(String value) {
            addCriterion("bf2 =", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2NotEqualTo(String value) {
            addCriterion("bf2 <>", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2GreaterThan(String value) {
            addCriterion("bf2 >", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2GreaterThanOrEqualTo(String value) {
            addCriterion("bf2 >=", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2LessThan(String value) {
            addCriterion("bf2 <", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2LessThanOrEqualTo(String value) {
            addCriterion("bf2 <=", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2Like(String value) {
            addCriterion("bf2 like", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2NotLike(String value) {
            addCriterion("bf2 not like", value, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2In(List<String> values) {
            addCriterion("bf2 in", values, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2NotIn(List<String> values) {
            addCriterion("bf2 not in", values, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2Between(String value1, String value2) {
            addCriterion("bf2 between", value1, value2, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf2NotBetween(String value1, String value2) {
            addCriterion("bf2 not between", value1, value2, "bf2");
            return (Criteria) this;
        }

        public Criteria andBf3IsNull() {
            addCriterion("bf3 is null");
            return (Criteria) this;
        }

        public Criteria andBf3IsNotNull() {
            addCriterion("bf3 is not null");
            return (Criteria) this;
        }

        public Criteria andBf3EqualTo(String value) {
            addCriterion("bf3 =", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3NotEqualTo(String value) {
            addCriterion("bf3 <>", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3GreaterThan(String value) {
            addCriterion("bf3 >", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3GreaterThanOrEqualTo(String value) {
            addCriterion("bf3 >=", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3LessThan(String value) {
            addCriterion("bf3 <", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3LessThanOrEqualTo(String value) {
            addCriterion("bf3 <=", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3Like(String value) {
            addCriterion("bf3 like", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3NotLike(String value) {
            addCriterion("bf3 not like", value, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3In(List<String> values) {
            addCriterion("bf3 in", values, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3NotIn(List<String> values) {
            addCriterion("bf3 not in", values, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3Between(String value1, String value2) {
            addCriterion("bf3 between", value1, value2, "bf3");
            return (Criteria) this;
        }

        public Criteria andBf3NotBetween(String value1, String value2) {
            addCriterion("bf3 not between", value1, value2, "bf3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}